PREVIEW: Let's see an example of the program you'll be creating today!

Loops let us repeat a set of commands more than once. Below, we use a loop to draw a shape over and over!

  • Click Run to view the example program.
  • Can you find the loop in the code? What happens if you change the number in range(75)?
  • After you've taken a look at the code, click Submit and Next to move on.

To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)